<script setup></script>
<template>
  <div class="center">
    <div class="center_top">
      <img src="//fe-static.xhscdn.com/formula-static/pro-enterprise-next/public/img/locked.7c7d71e.svg">
    </div>
    <div class="center_center">
      <p class="text">没有查看当前页面的权限</p>
      <p class="text">通过专业号认证后，才可开启“首页”权限。</p>
    </div>
    <div class="center_bottom">
      <router-link to="/certification">
        <button class="auth-button">专业认证</button>
      </router-link>
    </div>
  </div>
</template>
<style scoped>
.center{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.center_top{
  margin-bottom: 50px;
}
.center_center {
  text-align: center;
  margin-bottom: 60px;
}
.center_center > p{
  margin-top: 20px;
}
/* 天蓝色圆角按钮样式 */
.auth-button {
  padding: 10px 36px;
  background-color: #409eff; /* 天蓝色 */
  color: #ffffff;
  border: none;
  border-radius: 20px; /* 圆角效果 */
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.auth-button:hover {
  background-color: #66b1ff; /* hover时稍浅的蓝色 */
  box-shadow: 0 4px 12px rgba(64, 158, 255, 0.25);
  transform: translateY(-1px);
}

.auth-button:active {
  transform: translateY(0);
}

/* 去除router-link的默认样式 */
a {
  text-decoration: none;
}
</style>